package com.tencent.examples.blueking.mysql.extend.biz;

import com.tencent.examples.blueking.mysql.extend.dao.CrudDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Service基类
 */
@Transactional(readOnly = true)
@SuppressWarnings("unused")
public abstract class CrudBiz<D, T> extends BaseBiz implements CrudDao<T> {

    /**
     * Repository持久层对象
     */
    @Autowired
    protected D dao;

    // ******************************************************************************
    // ********************************** CRUD END **********************************
    // ******************************************************************************
}
